all: server client test
server: main.cc
	g++ -o $@ $^ -std=c++11 -lpthread -g
client: client.cc
	g++ -o $@ $^ -std=c++11 -g
test:test.cc
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -rf server client test